// 统一请求路径前缀在libs/axios.js中修改
import { getRequest, postRequest, postRequesjson, postRequestimg, putRequest, postBodyRequest, getNoAuthRequest, postNoAuthRequest } from '@/libs/axios';


export const getCompanyGoodInfo = (params) => {
    return postRequest('/orderAppointVo/getCompanyGoodInfo', params)
}

export const getCommonLine = (params) => {
    return postRequest('/companyOrderCommonLine/getCommonLine', params)
}

export const addCommonLine = (params) => {
    return postRequest('/companyOrderCommonLine/addCommonLine', params)
}

export const deleteCommonLine = (params) => {
    return postRequest('/companyOrderCommonLine/deleteCommonLine', params)
}

export const publicGoods = (params) => {
    return postRequest('/companyOrderGoods/publicGoods', params)
}

export const getEntrustedList = (params) => {
    return postRequest('/companyOrderEntrusted/getEntrustedList', params)
}

export const updateGoodsStatus = (params) => {
    return postRequest('/companyOrderGoods/updateGoodsStatus', params)
}

export const updateGoods = (params) => {
    return postRequest('/companyOrderGoods/updateGoods', params)
}

export const delGoods = (params) => {
    return postRequest('/companyOrderGoods/delGoods', params)
}

export const companyQuotationRecord = (params) => {
    return postRequest('/companyQuotationRecord/companyQuotationRecord', params)
}

export const entrustGoods = (params) => {
    return postRequest('/companyQuotationRecord/entrustGoods', params)
}


export const signContract = (params) => {
    return postRequest('/pcOrderEntrusted/signContract', params)
}

export const confirmPassword = (params) => {
    return postRequest('/oauth2/confirmPassword', params)
}

export const updateEntrustedState = (params) => {
    return postRequest('/companyOrderEntrusted/updateEntrustedState', params)
}

export const companyContract = (params) => {
    return getRequest('/system/companyContract', params)
}